Skip to content

[Bindings] Add bindings for Snapshot - #629

Open
Lucas-TJ wants to merge 24 commits into
sofa-framework:masterfrom
Lucas-TJ:snapshot_bindings
Open

Lucas-TJ wants to merge 24 commits into
sofa-framework:masterfrom
Lucas-TJ:snapshot_bindings

Conversation

@Lucas-TJ

@Lucas-TJ Lucas-TJ commented Jul 16, 2026 •

Copy link
Copy Markdown

Snapshot's bindings

Related to :

Overview

This Pull Request adds bindings for the Snapshot feature in SofaPython3. It provides a bridge between the Snapshot API in Sofa and Python, allowing users to save and load snapshots through Python bindings.

Currently, snapshots can only be saved and loaded in memory with bindings.

API

Snapshot

The C++ class Snapshot is exposed through the bindings..

Save and Load

To use functions that save and load snapshots, see the PR#655

Exemple

snapshot = Sofa.Core.Snapshot

By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants